package metalink.admin;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
import model.admin.*;
import vo.*;

import java.util.*;
public class CreateMenu extends ActionSupport{
	ArrayList<BatchDetailsVo> batch_list;
	ArrayList<CollegeResidentialVo> hostel_list;
	


	public String execute(){
		try {
			CreateMenuMo createmenu=new CreateMenuMo();
			batch_list=createmenu.createmenu();
			return SUCCESS;
			
		} catch (Exception e) {
			// TODO Auto-generated catch block
			System.out.println("in exception");
			e.printStackTrace();
			return ERROR;
		}
		
		
	}
	public ArrayList<BatchDetailsVo> getBatch_list() {
		return batch_list;
	}
	public void setBatch_list(ArrayList<BatchDetailsVo> batch_list) {
		this.batch_list = batch_list;
	}
	public ArrayList<CollegeResidentialVo> getHostel_list() {
		return hostel_list;
	}
	public void setHostel_list(ArrayList<CollegeResidentialVo> hostel_list) {
		this.hostel_list = hostel_list;
	}
}
